﻿using System;
using Slja.Utility;
namespace Slja.Model
{
    /// <summary>
    /// OrderLogModel:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class OrderLogModel
    {
        public OrderLogModel()
        { }
        #region Model

        private int _id;
        private int _orderid;
        private DateTime _dtm;
        private int _userid;
        private string _username;
        private int? _optype;
        private Btn _enum_optype; 
        private int? _curstate;
        private SaleState _enum_curstate;
        private int? _nextstate;
        private SaleState _enum_nextstate;
        private int? _nextuser;
        private string _nextuserName;
        private string _note;
        private long _rowid;
        /// <summary>
        /// 自增列
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 订单ID
        /// </summary>
        public int OrderID
        {
            set { _orderid = value; }
            get { return _orderid; }
        }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Dtm
        {
            set { _dtm = value; }
            get { return _dtm; }
        }
        /// <summary>
        /// 当前操作人
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 当前操作人姓名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 操作类型
        /// </summary>
        public int? OpType
        {
            set { _optype = value; }
            get { return _optype; }
        }
        /// <summary>
        /// 操作类型(枚举)
        /// </summary>
        public Btn enum_OpType
        {
            set { _enum_optype = value; }
            get { return _enum_optype; }
        }
        /// <summary>
        /// 当前状态
        /// </summary>
        public int? CurState
        {
            set { _curstate = value; }
            get { return _curstate; }
        }
        /// <summary>
        /// 当前枚举状态
        /// </summary>
        public SaleState enum_CurState
        {
            set { _enum_curstate = value; }
            get { return _enum_curstate; }
        }
        /// <summary>
        /// 下一个状态
        /// </summary>
        public int? NextState
        {
            set { _nextstate = value; }
            get { return _nextstate; }
        }
        /// <summary>
        /// 下一个枚举状态
        /// </summary>
        public SaleState enum_NextState
        {
            set { _enum_nextstate = value; }
            get { return _enum_nextstate; }
        }
        /// <summary>
        /// 下一负责人ID
        /// </summary>
        public int? NextUser
        {
            set { _nextuser = value; }
            get { return _nextuser; }
        }
        /// <summary>
        /// 下一负责人姓名
        /// </summary>
        public string NextUserName
        {
            set { _nextuserName = value; }
            get { return _nextuserName; }
        }
        /// <summary>
        /// 操作内容
        /// </summary>
        public string Note
        {
            set { _note = value; }
            get { return _note; }
        }
        /// <summary>
        /// （分页显示时）行号
        /// </summary>
        public long rowid
        {
            get { return _rowid; }
            set { _rowid = value; }
        }
        #endregion Model

    }
}

